{% comment %} ----------------------------------------------------------------*\
 |  create.html                                                               |
 |                                                                            |
 |  Copyright (c) 2009-2010, Code A La Mode, original authors.                |
 |                                                                            |
 |      This file is part of imi-imi.                                         |
 |                                                                            |
 |      imi-imi is free software; you can redistribute it and/or modify       |
 |      it under the terms of the GNU General Public License as published by  |
 |      the Free Software Foundation, either version 3 of the License, or     |
 |      (at your option) any later version.                                   |
 |                                                                            |
 |      imi-imi is distributed in the hope that it will be useful,            |
 |      but WITHOUT ANY WARRANTY; without even the implied warranty of        |
 |      MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the         |
 |      GNU General Public License for more details.                          |
 |                                                                            |
 |      You should have received a copy of the GNU General Public License     |
 |      along with imi-imi.  If not, see <http://www.gnu.org/licenses/>.      |
\*------------------------------------------------------------- {% endcomment %}


{% if current_user and target_user %}
    {% ifequal current_user target_user %}
        {% if not friends_view %}
            <div class="create_bookmark">
                <form id="create_bookmark" action="/users" method="post"
                      autocomplete="off">
                    <div class="form_element">
                        <input id="url_to_create" name="url_to_create"
                               type="text" value="enter a url to bookmark" />
                        <input class="submit" type="submit"
                               value="save bookmark" />
                        <div id="create_bookmark_throbber">
                            <img src="/static-files/images/throbber.gif"
                                 height="36" alt="saving bookmark..." />
                        </div>
                    </div>
                </form>
            </div>
        {% endif %}
    {% endifequal %}
{% endif %}
